﻿@model IEnumerable<Qu.ComputingContest.Model.ScheduleItem>

@{
    ViewBag.Title = "Schedule";
    Layout = "~/Views/Shared/_LayoutIntranet.cshtml";
}

@section head {
    <meta http-equiv="refresh" content="60" />

    <style type="text/css">
        body
        {
            margin-top : 20px;
            margin-bottom : 20px;
        }
        h2 {
            padding: 0 0 0px;
            top:0px;
        }
        
        h1 
        {
            font-size: 95px;
            text-align: center;
            font-weight:bold;
        }
       
        table, th, td
        {
            font-size:70px;
            text-align: center;
            font-weight:bold;
            border: 2px solid LightBlue;
            border-collapse: separate;
        }
        
        table th {
            background-color: #F5FFFA; 
            padding: 6px 5px;
            text-align: center;
            border: 2px solid LightBlue;
        }
        
        tr.spaceUnder > td
        {
          padding-bottom: 1.06em;
          padding-top: 1.06em;
          padding-left:10px; padding-right:10px;
       }
        
        tr.even {
            background-color: #eee;
        }
        tr.odd {
            background-color: LightYellow;
        } 
        
        .teamNo
        {
            font-size:42px;
            text-align: center;
            font-weight:bolder;
        }

        fullscreenDiv {
            /*background-color: #e8e8e8;*/
            width: 100%;
            /*height: auto;
            bottom: 0px;
            top: 0px;
            left: 0;*/
            position: absolute;
        }
        .center {
            /*line-height: 50px;*/
            text-align: center;
            position: absolute;
            /*border: 1px solid blue;*/
            width: 100%;
            /*height: 50%;*/
            top: 40%;
            /*left: 50%;*/
            /*margin-top: -200px;*/
            background-color: #fff;
            margin-left: auto;
            margin-right: auto;
            margin-top: auto;
            /*margin-left:0px;*/
            /*margin-left: -50px;*/
        }
        /*#main {
            position:absolute;
            bottom:0px;
            top:50px;
            width: 100%;
            right:50px;
        }*/
    </style>
    
    <script>
        $(document).ready(function () {
            $('table.stripe tbody tr:odd').addClass('odd');
            $(".tagline").letterfx({ "fx": "fly-right fly-bottom spin" });
            /*$('table.stripe tbody tr:even').addClass('even'); */
        });
    </script>
}

@if (Model.Count() == 0)
{
@*    <h1>1:15pm to 2:00pm : Lunch Break</h1>*@
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <h1 class="tagline">Welcome to CSE@QU Computing Contest</h1>
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
}
else
{
    <center>
        @Html.Partial("ScheduleDetails", Model)
    </center>
    <br />
}
